#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(void)
{
	int sum, i;
	sum = 0;
	i = 1;
	while (i <= 100)
	{
		sum = sum + i;
		i++;
	}
	printf("sum=%d\n",sum);
}